ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: #666;
}

a:hover {
  text-decoration: none;
}

body {
  background-color: #F5F5F5;
}

.container {
  background-color: #fff;
}

@media screen and (min-width:1280px) {
  .container {
    width: 1280px;
  }
}

/* header */

header {
  padding-left: 0 !important;
}

header .logo {
  width: 100%;
  background-color: #439BD9;
  text-align: center;
}

header .logo img {
  max-width: 100%;
  /* width: 100%; */
}

header .logo span {
  font-size: 16px;
  color: #fff;
  padding: 15px 0;
}

/* 在进入小屏幕和超小屏幕时将nav 改变样式 */
@media screen and (max-width:992px) {
  .nav {
    margin-bottom: 10px;
  }

  .nav li {
    width: 20%;
    float: left;
  }
}

/* 在超小屏幕中导航栏文字变小  new中的图片改变 */
@media screen and (max-width:750px) {
  .nav li a {
    padding-left: 7px;
    font-size: 14px;
  }

  .new ul li {
    width: 50% !important;
    padding-right: 0 !important;
  }

  .new ul li:nth-child(1) {
    width: 100% !important;
  }

  .publish .row h3 {
    font-size: 14px;
  }

  [class^="col"] {
    padding: 0 10px !important;
  }

  .container .row header {
    padding: 0 !important;
  }

}

.nav {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}

.nav a {
  display: block;
  height: 50px;
  font-size: 16px;
  line-height: 50px;
  padding-left: 30px;
}

.nav a:hover {
  background-color: #fff;
  color: #333;
}

.nav a::before {
  vertical-align: middle;
  padding-right: 5px;
}

/* new */

.new ul li {
  float: left;
  width: 25%;
  height: 128px;
  padding-right: 10px;
  margin-bottom: 10px;
}

.new ul li:nth-child(1) {
  width: 50%;
  height: 266px;
}

.new ul li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.new ul li a img {
  width: 100%;
  height: 100%;
}

.new ul li a p {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 5px 10px;
  font-size: 12px;
  color: white;
  width: 100%;
  height: 41px;
  background-color: rgba(0, 0, 0, .5);
  /* 强制显示两行文字 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

.new ul li:nth-child(1) p {
  font-size: 16px;
  padding: 0 10px;

  line-height: 41px;
}

/* publish */

.publish {
  border-top: 1px solid #ccc;
}

.publish .row {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;

}

.publish .publish_pic {
  padding-top: 10px;
}

.publish .publish_pic img {
  width: 100%;
}

/* 右边 */

aside .banner {
  display: block;
  width: 100%;
}

aside .banner img {
  width: 100%;
}

.hot {
  display: block;
  width: 100%;
  margin-top: 20px;
  border: 1px solid #ccc;
  padding: 0 15px 20px;
}

.hot span {
  border-radius: 0;
  margin-bottom: 20px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.hot p {
  font-size: 12px;
}